package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.ccbusiness.dao.CEquityPledgedDetailInfoDao;
import gov.ccswj.modules.ccbusiness.entity.CEquityPledgedDetailInfoEntity;
import gov.ccswj.modules.ccbusiness.service.CEquityPledgedDetailInfoService;



@Service("cEquityPledgedDetailInfoService")
public class CEquityPledgedDetailInfoServiceImpl implements CEquityPledgedDetailInfoService {
	@Autowired
	private CEquityPledgedDetailInfoDao cEquityPledgedDetailInfoDao;
	
	@Override
	public CEquityPledgedDetailInfoEntity queryObject(Integer id){
		return cEquityPledgedDetailInfoDao.queryObject(id);
	}
	
	@Override
	public List<CEquityPledgedDetailInfoEntity> queryList(Map<String, Object> map){
		return cEquityPledgedDetailInfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cEquityPledgedDetailInfoDao.queryTotal(map);
	}
	
	@Override
	public void save(CEquityPledgedDetailInfoEntity cEquityPledgedDetailInfo){
		cEquityPledgedDetailInfoDao.save(cEquityPledgedDetailInfo);
	}
	
	@Override
	public void update(CEquityPledgedDetailInfoEntity cEquityPledgedDetailInfo){
		cEquityPledgedDetailInfoDao.update(cEquityPledgedDetailInfo);
	}
	
	@Override
	public void delete(Integer id){
		cEquityPledgedDetailInfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cEquityPledgedDetailInfoDao.deleteBatch(ids);
	}
	
}
